<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2018/1/12
  Time: 11:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html><!DOCTYPE html>
<head>
    <title>后台管理系统</title>

    <meta charset="UTF-8">
    <style type="text/css">
        body
        {
            margin: 0;
            padding: 0;
            border: 0;
            overflow: hidden;
            height: 100%;
            max-height: 100%;
        }
        #framecontentTop
        {
            position: absolute;
            top: 0;
            left: 0;
            height: 100px;
            width: 100%;
            overflow: hidden;
            vertical-align: middle;
            background-color: #D2E6FA;
        }
        #framecontentLeft
        {
            position: fixed;
            top: 100px;
            left: 0;
            height: 100%;
            width: 150px;
            overflow: hidden;
            vertical-align: top;
            background-color: #D2E6FA;
        }
        #maincontent
        {
            position: fixed;
            left: 150px;
            top: 100px;
            right: 0;
            bottom: 0;
            height: 100%;
            overflow: auto;
            background: #fff;
            border-top: solid 2px #70cbea;
            border-left: solid 2px #70cbea;
        }
        * html body
        {
            padding: 100px 0 0 150px;
        }
        * html #maincontent
        {
            height: 100%;
            width: 100%;
        }
        * html #framecontentTop
        {
            width: 100%;
        }

        .menus
        {
        }
        .menu ul
        {
            padding: 0;
            margin: 0;
            list-style-type: none;
            width: 100%;
        }
        .menu li
        {
            position: relative;
            background: #d4d8bd;
            height: 26px;
        }
        .menu a, .menu a:visited
        {
            display: block;
            text-decoration: none;
            height: 25px;
            line-height: 25px;
            width: 149px;
            color: #000;
            text-indent: 5px;
            border: 1px solid #fff;
            border-width: 0 1px 1px 0;
        }
        .menu a:hover {
            color: #fff;
            background: #949e7c;
        }
    </style>

</head>
<body>
<form id="form1">
    <div id="framecontentLeft">
        <div  id="menu">
            <c:forEach var="m" items="${map}">
                <ul>
                    <li><a target="content" href="${m.value}">${m.key}</a><br></li>
                </ul>
            </c:forEach>
        </div>
    </div>
    <div id="framecontentTop">
        <div style="text-align: center;">
            <div id="logout" style="float: right;">
                当前用户：${test}
                <a href="/index.jsp">--退出--</a>
            </div>
            <h1>
                后台管理系统
            </h1>
        </div>
    </div>
    <div id="maincontent">
        <iframe id="content" name="content" frameborder="0"
                scrolling="no" width="100%" height="100%"></iframe>
    </div>
</form>
</body>
</html>

